Function Composition Definition Given functions g:B→C and f:A→B we define the composition operation ∘ such that(g∘f)(x)=g(f(x)). In particular, we require codomain(f)=domain(g) in order for this to be well defined.